
#include <OemPeiLib\OemPeiLib.h>
#include <AmiPeiLib.h>

EFI_STATUS ComsWrite(UINT8 Address,UINT8 Data){
    
    IoWrite8(0x70,Address);
    IoWrite8(0x71,Data);
    return EFI_SUCCESS;
};

EFI_STATUS ComsRead(UINT8 Address){
    UINT8 Data;
    IoWrite8(0x70,Address);
    Data =IoRead8(0x71);
    return Data;
};

